<template>
  <!-- 小额/网银净额清算通知查询明细页面弹出框-->
  <el-dialog
    title="小额/网银净额清算通知查询明细"
    center
    :visible.sync="open"
    width="1024px"
    :close-on-click-modal="true"
    @close="closeFn"
  >
    <el-form ref="detailsForm" :model="formData" label-width="160px" :disabled="true">
      <el-row>
        <el-col :span="12">
          <el-form-item label="系统流水号：" prop="id">
            <el-input v-model="formData.id" placeholder="系统流水号" />
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="报文标志号：" prop="bwbzh">
            <el-input v-model="formData.bwbzh" placeholder="报文标志号" />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="工作日期：" prop="workdate">
            <el-date-picker
              v-model="formData.workdate"
              type="date"
              value-format="yyyyMMdd"
              placeholder="选择日期"
              style="width: 100%"
            ></el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="轧差类型：" prop="zclx">
            <el-select v-model="formData.zclx" placeholder="请选择" style="width: 100%">
              <el-option
                v-for="dict in dictMap.CHECK_TYPE"
                :key="dict.value"
                :label="`${dict.value}-${dict.text}`"
                :value="dict.value"
              ></el-option>
            </el-select>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="12">
          <el-form-item label="轧差清算行行号：" prop="zcqshhh">
            <el-input v-model="formData.zcqshhh" placeholder="轧差清算行行号" />
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="轧差清算行行名：" prop="zcqshhm">
            <el-input v-model="formData.zcqshhm" placeholder="轧差清算行行名" />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="12">
          <el-form-item label="所有者：" prop="syz">
            <el-input v-model="formData.syz" placeholder="所有者" />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="货币种类：" prop="hbzl">
            <el-input v-model="formData.hbzl" placeholder="货币种类" />
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="金额：" prop="mounts">
            <el-input v-model="formData.mounts" placeholder="金额" />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="当前借贷标志：" prop="dqjdbz">
            <el-select v-model="formData.dqjdbz" placeholder="请选择" style="width: 100%">
              <el-option
                v-for="dict in dictMap.CREDITDEBITCODE"
                :key="dict.value"
                :label="`${dict.value}-${dict.text}`"
                :value="dict.value"
              ></el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="日期：" prop="date2">
            <el-date-picker
              v-model="formData.date2"
              type="date"
              value-format="yyyyMMdd"
              placeholder="选择日期"
              style="width: 100%"
            ></el-date-picker>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="本场贷方发生额贷币币种：" prop="bcdffsedbbz">
            <el-input v-model="formData.bcdffsedbbz" placeholder="本场贷方发生额贷币币种" />
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="本场贷方发生额：" prop="bcdffse">
            <el-input v-model="formData.bcdffse" placeholder="本场贷方发生额" />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="本场借方发生额贷币币种：" prop="bcjffsedbbz">
            <el-input v-model="formData.bcjffsedbbz" placeholder="本场借方发生额贷币币种" />
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="本场借方发生额：" prop="bcjffse">
            <el-input v-model="formData.bcjffse" placeholder="本场借方发生额" />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="账目轧差净额货币币种：" prop="zmzcjehbbz">
            <el-input v-model="formData.zmzcjehbbz" placeholder="账目轧差净额货币币种" />
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="账目轧差净额：" prop="zmzcje">
            <el-input v-model="formData.zmzcje" placeholder="账目轧差净额" />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="账目借贷标志：" prop="zmjdbz">
            <el-select v-model="formData.zmjdbz" placeholder="请选择" style="width: 100%">
              <el-option
                v-for="dict in dictMap.CREDITDEBITCODE"
                :key="dict.value"
                :label="`${dict.value}-${dict.text}`"
                :value="dict.value"
              ></el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="账目状态：" prop="zmzt">
            <el-input v-model="formData.zmzt" placeholder="账目状态" />
          </el-form-item>
        </el-col>
      </el-row>

      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="账目轧差日期：" prop="zmzcrq">
            <el-date-picker
              v-model="formData.zmzcrq"
              type="date"
              value-format="yyyyMMdd"
              placeholder="选择日期"
              style="width: 100%"
            ></el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="账目清算日期：" prop="zmqsrq">
            <el-date-picker
              v-model="formData.zmqsrq"
              type="date"
              value-format="yyyyMMdd"
              placeholder="选择日期"
              style="width: 100%"
            ></el-date-picker>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="清算系统标志：" prop="qsxtbz">
            <el-select v-model="formData.qsxtbz" placeholder="请选择" style="width: 100%">
              <el-option
                v-for="dict in dictMap.SYSTEMCODE"
                :key="dict.value"
                :label="`${dict.value}-${dict.text}`"
                :value="dict.value"
              ></el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="报文接收时间：" prop="bwjssj">
            <el-date-picker
              v-model="formData.bwjssj"
              type="datetime"
              value-format="yyyyMMddHHmmss"
              placeholder="选择时间"
              style="width: 100%"
            ></el-date-picker>
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </el-dialog>
</template>
<script>
export default {
  name: "BepsDetails",
  components: {},
  props: {
    dictMap: {
      type: Object,
      default: () => {
        return {};
      },
    },
    formData: {
      type: Object,
      default: () => {
        return {};
      },
    },
  },
  data() {
    return {
      // 是否显示弹出层
      open: false,
    };
  },
  mounted() {},
  methods: {
    // 表单重置
    reset() {
      this.resetForm("detailsForm");
      // this.$set(this, "form", {});
    },
    closeFn() {
      this.open = false;
    },
    show() {
      this.open = true;
    },
  },
};
</script>
